#Firmware/v310
prot, baud, parity, dbits, sbits = cpo:prot()
Query the current protocol. Since the COM ports can perform automatic baud rate and protocol detection, this can show either what's been set, or what's been detected.
e.g.
'19200N8;', 19200, 'N', 8, 1.5 Copy
'19200N8;', 19200, 'N', 8, 1.5